// 挂载函数
import {assignPrototype} from '@/utils'

import CreepLocalMove from './Move/local'
import CreepMissonWork from './Misson/work'
import CreepTransportMisson from './Misson/transport'
import CreepActionMisson from './Misson/action'
import CreepMineMisson from './Misson/mine'
import CreepWarMisson from './Misson/war'

export default ()=> {
    // 先挂载行为的原型拓展
    assignPrototype(Creep,CreepLocalMove)
    assignPrototype(Creep,CreepMissonWork)
    assignPrototype(Creep,CreepTransportMisson)
    assignPrototype(Creep,CreepActionMisson)
    assignPrototype(Creep,CreepMineMisson)
    assignPrototype(Creep,CreepWarMisson)

}